package com.sumainfor.pc.epc.controller.buyer;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.epc.service.WorkBenchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Eddy·Chen
 * @Email 835033913@qq.com
 * @Create 2019-04-12 16:45
 * 采购员工作台
 */
@RestController
@RequestMapping("/buyer/workBench")
public class WorkBenchController {

    @Autowired
    private WorkBenchService wbs;

    /**
     * 主页列表显示的
     *
     * @return
     */
    @RequestMapping("/getWorkData")
    public JsonResult getWorkData() {
        return wbs.getWorkData();
    }

}

